package com.example.as_sum.activity;

import android.os.Handler;
import android.os.Bundle;

import com.example.as_sum.R;
import com.example.as_sum.view.CircleBar;

public class CustomViewActivity extends BaseActivity {

    private CircleBar circleBar;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        initTitle("自定义控件");
    }

    @Override
    public int getContentId() {
        return R.layout.activity_custom_view;
    }

    @Override
    public void initView() {
        circleBar=(CircleBar)this.findViewById(R.id.circleProgress);
        circleBar.setColor(100,255,100);
        circleBar.setMaxstepnumber(6);
        circleBar.update(4,5000);
    }

    @Override
    public void addListener() {

    }

    @Override
    public void loadData() {

    }

    @Override
    public Handler getHandler() {
        return null;
    }
}
